package en.edu.cuit.aumalls.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface OrdersMapper {
	
	@Select("select order_id from orders where order_user=#{order_user} order by order_time DESC LIMIT 1")
	String findLastOrderIdByUser(@Param("order_user") int order_user);
}
